package com.sh.data.engine.application.model.mapper.authority;

import com.sh.data.engine.application.model.dto.authority.RoleDTO;
import com.sh.data.engine.application.model.mapper.base.BasePageMapper;
import com.sh.data.engine.domain.authority.model.domain.RoleDomain;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface RoleDTOMapper extends BasePageMapper<RoleDomain, RoleDTO> {
    RoleDTO domaintoDTO(RoleDomain roleDomain);
    List<RoleDTO> map(List<RoleDomain> domains);
}
